<!DOCTYPE HTML>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
	<title>管理员详情 - 学生意见管理系统</title>
	<meta th:replace="~{/include/all_include ::  title}"/>
	<link
			th:href="@{/common/resource/H-ui.admin/static/h-ui.admin/css/H-ui.login.css}"
			rel="stylesheet" type="text/css" />
	<meta name="keywords" content="学生意见管理系统-登录">
	<meta name="description" content="学生意见管理系统-登录">
</head>
<body>
<nav class="breadcrumb">
	<i class="Hui-iconfont">&#xe67f;</i> 首页
	<span class="c-gray en">&gt;</span>示例模块
	<span class="c-gray en">&gt;</span> 管理员详情
	<a class="btn btn-success radius r" style="line-height: 1.6em; margin-top: 3px"
	   href="javascript:location.replace(location.href);" title="刷新">
		<i class="Hui-iconfont">&#xe68f;</i>
	</a>
</nav>
<article class="page-container">
	<form class="form form-horizontal" method="post" id="formId">
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>邮箱：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<th:block th:text="${response?.data?.one?.email}"/>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>手机号：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<th:block th:text="${response?.data?.one?.phone}"/>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>qq：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<th:block th:text="${response?.data?.one?.qq}"/>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>状态：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<th:block th:text="${response?.data?.one?.statusStr}"/>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">创建时间：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<th:block th:text="${response?.data?.one?.createTime}"/>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">更新时间：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<th:block th:text="${response?.data?.one?.updateTime}"/>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">发布时间：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<th:block th:text="${response?.data?.one?.pubTime}"/>
			</div>
		</div>
	</form>
</article>
<footer th:replace="~{/include/all_include ::  footer}"/>

<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" th:src="@{/common/resource/H-ui.admin/lib/My97DatePicker/4.8/WdatePicker.js}"></script>
<script type="text/javascript" th:src="@{/common/resource/H-ui.admin/lib/jquery.validation/1.14.0/jquery.validate.js}"></script>
<script type="text/javascript" th:src="@{/common/resource/H-ui.admin/lib/jquery.validation/1.14.0/validate-methods.js}"></script>
<script type="text/javascript" th:src="@{/common/resource/H-ui.admin/lib/jquery.validation/1.14.0/messages_zh.js}"></script>
<script type="text/javascript" th:src="@{/common/resource/H-ui.admin/lib/webuploader/0.1.5/webuploader.min.js}"></script>
<script type="text/javascript" th:src="@{/common/resource/H-ui.admin/lib/ueditor/1.4.3/ueditor.config.js}"></script>
<script type="text/javascript" th:src="@{/common/resource/H-ui.admin/lib/ueditor/1.4.3/ueditor.all.min.js}"> </script>
<script type="text/javascript" th:src="@{/common/resource/H-ui.admin/lib/ueditor/1.4.3/lang/zh-cn/zh-cn.js}"></script>
<script type="text/javascript">
	$(function(){
		$('.skin-minimal input').iCheck({
			checkboxClass: 'icheckbox-blue',
			radioClass: 'iradio-blue',
			increaseArea: '20%'
		});

		//表单验证
		$("#form-article-add").validate({
			rules:{
				name:{
					required:true,
				},
				capital:{
					required:true,
					minlength:4,
					maxlength:50
				},
				stYear:{
					required:true,
				},
				edYear:{
					required:true,
				}
			},
			onkeyup:false,
			focusCleanup:true,
			success:"valid",
			submitHandler:function(form){
				$(form).ajaxSubmit({
					type: 'post',
					success: function(data){
						console.log("==data==",data)
						data = JSON.parse(data);
						layer.msg(data.info,{icon:1,time:3000},function(){
							/* 关闭当前窗口 */
							if (data.code == '0') {
								var index = parent.layer.getFrameIndex(window.name);
								parent.$('.btn-refresh').click();
								parent.layer.close(index);
							}
						});
					},
					error: function(XmlHttpRequest, textStatus, errorThrown){
						layer.msg('error!',{icon:1,time:1000});
					}
				});
			}
		});
	});
</script>
<!--/请在上方写此页面业务相关的脚本-->
</body>
</html>